package com.cloudfun.msglisten.common.constant;

/**
 * Created by Huqin on 2020/3/31
 */
public interface RabbitConstants {

    /**
     * 队列
     */
    interface Queue {
        String USER_ACTIVATE_DATA_SUB_MSG_LISTEN = "activate.data.sub.msg.listen";

        String DEVICE_MSG_TO_EXTERNAL_MSG_LISTEN = "device.msg.to.external.msg.listen";
    }

    /**
     * 交换机
     */
    interface Exchange {

        String DEVICE_STATUS = "device.status";
        String DEVICE_FAULT = "device.fault";
        String DEVICE_EVENT = "device.event";
        String DEVICE_FIRMWARE = "device.firmware";
    }

}
